import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import vant from './vant.config'
import axios from 'axios'
import { setupStore} from './stores'
// import { createPinia } from 'pinia'

import './assets/yd_base.css'

const app = createApp(App)

setupStore(app)


app.config.globalProperties.$axios = axios;
app.config.globalProperties.$vant = vant;


// app.use(createPinia())
app.use(router)
app.use(vant)

app.mount('#app')
